/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * CollectInfo APIs
 * 采集配置的管理控制接口，采集实例的管理控制接口
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Logs.Model;

namespace  JDCloudSDK.Logs.Apis
{

    /// <summary>
    ///  采集配置的基本信息。
    /// </summary>
    public class DescribeCollectInfoResult : JdcloudResult
    {
        ///<summary>
        /// UID
        ///</summary>
        public   string UID{ get; set; }
        ///<summary>
        /// 高可用组资源multi
        ///</summary>
        public List<AgResourceEnd> AgResource{ get; set; }

        ///<summary>
        /// 日志来源
        ///</summary>
        public   string AppCode{ get; set; }
        ///<summary>
        /// Detail
        ///</summary>
        public   CollectTempalteEnd Detail{ get; set; }
        ///<summary>
        /// Enabled
        ///</summary>
        public   long? Enabled{ get; set; }
        ///<summary>
        /// 是否存在资源
        ///</summary>
        public   bool HasResource{ get; set; }
        ///<summary>
        /// 自定义日志转发目的地, 只支持业务应用日志。支持类型：&quot;kafka&quot;，&quot;es&quot;
        ///</summary>
        public   string LogCustomTarget{ get; set; }
        ///<summary>
        /// 自定义日志转发目的地配置，KV 结构，具体配置参考 LogCustomTargetKafkaConf 和 LogCustomTargetEsConf
        ///</summary>
        public   Dictionary<String,object> LogCustomTargetConf{ get; set; }
        ///<summary>
        /// 日志集 UID
        ///</summary>
        public   string LogsetUID{ get; set; }
        ///<summary>
        /// 目的地是否是日志服务logtopic，只支持业务应用日志。默认是
        ///</summary>
        public   bool LogtopicEnabled{ get; set; }
        ///<summary>
        /// 日志主题 UID
        ///</summary>
        public   string LogtopicUID{ get; set; }
        ///<summary>
        /// 采集资源时选择的模式，1.正常的选择实例模式（默认模式）；2.选择标签tag模式 3.选择高可用组ag模式
        ///</summary>
        public   long? ResourceMode{ get; set; }
        ///<summary>
        /// 采集实例类型, 只能是 all/part
        ///</summary>
        public   string ResourceType{ get; set; }
        ///<summary>
        /// 产品线
        ///</summary>
        public   string ServiceCode{ get; set; }
        ///<summary>
        /// TagResource
        ///</summary>
        public   TagResourceEnd TagResource{ get; set; }
        ///<summary>
        /// 日志类型名称
        ///</summary>
        public   string TemplateName{ get; set; }
        ///<summary>
        /// 日志类型
        ///</summary>
        public   string TemplateUID{ get; set; }
    }
}